package com.gk.company.view.upgrade
{
	import com.gk.app.GT;
	import com.gk.util.GameSprite;
	import com.gk.util.component.Window;
	
	import flash.display.DisplayObjectContainer;
	
	public class UpgradeCompanyView extends GameSprite
	{

		private const W:int = 500;
		private const H:int = 400;
		
		private var window:Window;
		public function UpgradeCompanyView(parent:DisplayObjectContainer=null, xpos:Number=0, ypos:Number=0)
		{
			
			draw(W,H)
			
			super(parent, xpos, ypos);
			window = new Window(this,0,0,"公司升级",onClose);
			window.setSize(W,H);
			window.hasCloseButton = true;
		}
		
		private function onClose():void
		{
			GT.closeWindow(this);
		}
	}
}